package com.android.gufengmall.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 用户数据类
 */
@Entity
public class UserBean {

    @Id(autoincrement = true)
    private Long id;
    private boolean isAdmin;
    private String userName;
    private String userPass;
    private String userNick;
    private String userPhoto;
    private String age;
    private String sex;

    @Generated(hash = 2036523309)
    public UserBean(Long id, boolean isAdmin, String userName, String userPass,
            String userNick, String userPhoto, String age, String sex) {
        this.id = id;
        this.isAdmin = isAdmin;
        this.userName = userName;
        this.userPass = userPass;
        this.userNick = userNick;
        this.userPhoto = userPhoto;
        this.age = age;
        this.sex = sex;
    }

    @Generated(hash = 1203313951)
    public UserBean() {
    }

    public boolean getIsAdmin() {
        return this.isAdmin;
    }

    public void setIsAdmin(boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return this.userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getAge() {
        return this.age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserPhoto() {
        return this.userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public String getUserNick() {
        return this.userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }
}
